package cn.jobstart.modelDesc;

import lombok.Data;
import cn.jobstart.model.School;


import cn.jobstart.enums.SchoolShowFlagEnum;
import cn.jobstart.enums.SchoolDelFlagEnum;
import cn.jobstart.enums.SchoolLevelEnum;
import cn.jobstart.enums.SchoolSchoolTypeEnum;
import cn.jobstart.enums.SchoolChinaEnum;
import cn.jobstart.enums.SchoolFlagEnum;

/**
*    @author sunke
*    @Date 2023-11-08 20:33:28
*    @description SchoolDesc      学校
*/
@Data
public class SchoolDesc extends School {


    private String showFlagDesc;
    private String delFlagDesc;
    private String levelDesc;
    private String schoolTypeDesc;
    private String chinaDesc;
    private String flagDesc;

    public String getShowFlagDesc() {
        showFlagDesc=SchoolShowFlagEnum.getDescByType(getShowFlag());
        return showFlagDesc;
    }
    public String getDelFlagDesc() {
        delFlagDesc=SchoolDelFlagEnum.getDescByType(getDelFlag());
        return delFlagDesc;
    }
    public String getLevelDesc() {
        levelDesc=SchoolLevelEnum.getDescByType(getLevel());
        return levelDesc;
    }
    public String getSchoolTypeDesc() {
        schoolTypeDesc=SchoolSchoolTypeEnum.getDescByType(getSchoolType());
        return schoolTypeDesc;
    }
    public String getChinaDesc() {
        chinaDesc=SchoolChinaEnum.getDescByType(getChina());
        return chinaDesc;
    }
    public String getFlagDesc() {
        flagDesc=SchoolFlagEnum.getDescByType(getFlag());
        return flagDesc;
    }
}

